<?php
class Font_Model_Register extends Zend_Db_Table{
	protected $_name = 'register';
	protected $_primary = 'id';


	public function addRegister($arrParam) {
		$row = $this->fetchNew ();
		$row->name = $arrParam ['name'];
		$row->phone = $arrParam ['phone'];
		$row->course = $arrParam ['course'];
		$row->comment = $arrParam ['comment'];
		$row->time_register = date ( "Y-m-d H:i:s" );
		$row->user_id = "0";
		$row->status = "0";
		$row->save ();
	}


}